<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title></title>
<meta http-equiv='content-type' content='text/html;charset=utf-8' />
<style>
#right_top{
	height:60px;
	line-height:60px;
	font-size:18px;
	color:#0B55C4;
	font-weight:bold;
	
}
#right_top #img{
	float:left;
	width:42px;
	padding:8px;
}
#right_top #img_text{
	float:left;
	text-indent:20px;
}
fieldset{
	margin:15px auto 0px;
	width:660px;
}
legend{
	color:blue;
	font-weight:bold;
}
table{
	margin-top:20px;
}
.td_text{
	font-weight:bold;
	width:180px;
	height:24px;
	background-color:#ddd;
	text-align:right;
}
.td_input{
	text-align:left;
}
#right_bottom{
	padding-top:10px;
	height:30px;
	text-align:center;
}
textarea{
	width:400px;
	height:100px;
	resize:none;
}
</style>
</head>
<body>
	<div id='main_right'>
		<div id='right_top'>
			<div id='img'>
				<img src='__PUBLIC__/images/config.png' />
			</div>
			<div id='img_text'>
				全局配置
			</div>
		</div>
		<form action='__APP__/Config/update' method='post'>
		<div id='right_middle1'>
			<fieldset>
				<legend>数据库设置</legend>
				<table>
					<tr>
						<td class='td_text'>数据库类型</td>
						<td class='td_input'><input type='text' name='DB-TYPE' value=<{$config.DB_TYPE}> /></td>
					</tr>
					<tr>
						<td class='td_text'>主机名</td>
						<td class='td_input'><input type='text' name='DB_HOST' value=<{$config.DB_HOST}> /></td>
					</tr>
					<tr>
						<td class='td_text'>用户名</td>
						<td class='td_input'><input type='text' name='DB_USER' value=<{$config.DB_USER}> /></td>
					</tr>
					<tr>
						<td class='td_text'>数据库</td>
						<td class='td_input'><input type='text' name='DB_NAME' value=<{$config.DB_NAME}> /></td>
					</tr>
					<tr>
						<td class='td_text'>数据表前缀</td>
						<td class='td_input'><input type='text' name='DB_PREFIX'  value=<{$config.DB_PREFIX}> /></td>
					</tr>
				</table>
			</fieldset>
		</div>
		<div id='right_middle2'>
			<fieldset>
				<legend>网站配置</legend>
				<table>
					<tr>
						<label>
							<td class='td_text'>网站名称</td>
							<td class='td_input'><input type='text' name='APP_NAME' value=<{$config.APP_NAME}> /></td>
						</label>
					</tr>
					<tr>
						<td class='td_text'>列表长度</td>
						<td class='td_input'><input type='text' name='LIST_PAGE' value=<{$config.LIST_PAGE}> /></td>
					</tr>
					<tr>
						<td class='td_text'>网站简介</td>
						<td class='td_input'><textarea name='APP_METADESC' cols='40' rows='3'><{$config.APP_METADESC}></textarea></td>
					</tr>
					<tr>
						<td class='td_text'>网站关键字</td>
						<td class='td_input'><textarea name='APP_METAKEY' cols='40' rows='3'><{$config.APP_METAKEY}></textarea></td>
					</tr>
					<tr>
						<td class='td_text'>版权年份</td>
						<td class='td_input'><input type='text' name='APP_YEAR'  value=<{$config.APP_YEAR}> /></td>
					</tr>
					<tr>
						<td class='td_text'>b备案号</td>
						<td class='td_input'><input type='text' name='APP_ICP' value=<{$config.APP_ICP}> /></td>
					</tr>
				</table>
			</fieldset>
		</div>
		<div id='right_bottom'>
			<input type='submit' value='保存' />
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type='reset' value='取消' />
		</div>
		</form>
	</div>
</body>
</html>